#include"FileIO.h"
#include"fstream"
#include<iostream>
void FileIO::FileRead()
{
	fout.open("data.txt", std::ios::in);
	fout >> game.Max_score;
	fout.close();
	
}

void FileIO::FileWrite()
{
	fin.open("data.txt", std::ios::out);
	fin << game.Max_score;
	fin.close();
}